/*
    This file is part of Raptor.

    Raptor is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Raptor is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Raptor.  If not, see <http://www.gnu.org/licenses/>.

 */


QString transformToString(const quint64 &got);
quint64 transformFromString(const QString &str);

QPair<quint64, quint64> getSizeFromString(const QString &str);

QString getSizeString(const quint64 &got, const quint64 &size);
QString getSizeString(const quint64 &size);
QString getSpeedString(const double &bps);
QString getTimeString(const int &sec);
QString getLeadingZero(const int &i);
